package server;

import java.util.Observable;
import java.util.Observer;
import javax.swing.JFrame;

/**
 * Affiche la fenetre serveur
 * @author laurent constant,david fassler 
 *
 */
public class ServerView extends JFrame implements Observer{

	/**
	 * 
	 */
	private static final long serialVersionUID = 5330665784737693270L;
	JPanelServerSettings serverSettings;
	//private ServerApplication serverApp;
	/**
	 * Affiche la vue
	 * @param serverApp L'application serveur
	 */
	public ServerView(ServerApplication serverApp){
		serverSettings = new JPanelServerSettings(serverApp);
		this.setTitle("Serveur Deminet");
		
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		
		getContentPane().add(serverSettings);
		pack();
		repaint();
		setResizable(false);
	}

	@Override
	public void update(Observable arg0, Object arg1) {		
	}
	
	
	
}
